package com.bw.liuyushan.zhuangao4_weektest2.DaoSQL;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Index;

/**
 * ZhuanGao4_WeekTest2
 * file name is : UserMsg
 * created by Ender on 2021/8/25 14:50.
 * author : 刘雨杉
 * Describe(作用):
 */
@Entity
public class UserMsg {
    @Id(autoincrement = true)
    private Long id;
    private String username;
    private String password;
    private double price= 0;
    @Generated(hash = 1142376746)
    public UserMsg(Long id, String username, String password, double price) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.price = price;
    }
    @Generated(hash = 500592789)
    public UserMsg() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getUsername() {
        return this.username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return this.password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public double getPrice() {
        return this.price;
    }
    public void setPrice(double price) {
        this.price = price;
    }

}
